import { createApp } from "vue";
import animated from "animate.css";
import {
  Tabbar,
  TabbarItem,
  Icon,
  Button,
  Switch,
  NavBar,
  Swipe,
  SwipeItem,
  Collapse,
  CollapseItem,
  Cell,
  CellGroup,
  List,
  Lazyload,
  Field
} from "vant";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "amfe-flexible";

createApp(App)
  .use(store)
  .use(router)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Icon)
  .use(Button)
  .use(Switch)
  .use(NavBar)
  .use(animated)
  .use(Swipe)
  .use(SwipeItem)
  .use(Collapse)
  .use(CollapseItem)
  .use(Cell)
  .use(CellGroup)
  .use(List)
  .use(Lazyload)
  .use(Field)
  .mount("#app");
